﻿using Newtonsoft.Json;
using WMS.FC.Domain.DomainObject.System;

namespace WMS.FC.Domain.DataTransferObject.System
{
    public class GetPageDataDTO : RequestBase
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        [JsonProperty("menuId")]
        public string MenuId { get; set; } = string.Empty;

        /// <summary>
        /// 分页
        /// </summary>
        [JsonProperty("pagination")]
        public Pagination? Pagination { get; set; }

        /// <summary>
        /// 查询
        /// </summary>
        [JsonProperty("query")]
        public Dictionary<string, object>? Query { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [JsonProperty("sorter")]
        public Sorter? Sorter { get; set; }
    }
}
